from django.http import HttpResponse
from django.shortcuts import redirect, reverse


def index(request):
    return HttpResponse('文章首页')


def article_list(request, list_id):
    print(reverse('list', kwargs={
        "list_id": list_id
    }))
    return HttpResponse('hello')


def article_cate(request, cate_id):
    return HttpResponse(cate_id)